package com.iims.flowable.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.iims.flowable.flow.domain.FlowableForm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 流程表单Mapper接口
 *
 * @author fanpei
 * @date 2021-03-30
 */
@Mapper
public interface FlowFormMapper extends BaseMapper<FlowableForm> {

    /**
     * 查询流程表单列表
     *
     * @param FlowableForm 流程表单
     * @return 流程表单集合
     */
    public List<FlowableForm> selectFlowableFormList(FlowableForm FlowableForm);

    /**
     * 更新部署DeployId
     *
     * @param Id
     * @param deployId
     */
    int updateFormDeploymentId(@Param("Id") String Id, @Param("deployId") String deployId);
}
